package com.okRPC.server.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.*;

/**
 * Description: This is a sample class.
 * Author: Simon
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Service
public @interface RpcService {

    String version() default "1.0";

    Class<?> interfaceType() default Object.class;

}
